package java8_6;

import java.util.Scanner;

/**
 * @author oldliu
 * @since 1.0
 */
public class Liangshan {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        System.out.println("请输入梁山好汉的名字：");
        String name = in.next();
        switch (name) {
            case "宋江":
            {
                System.out.println("天罡星");
            }
                break;
            case "卢俊义":
            {
                System.out.println("玉麒麟");
            }
                break;
            case "李逵":
            case "李鬼":
            {
                System.out.println("黑旋风");
            }
                break;
            default:
            {
                System.out.println("没列出来");
            }
            break;
        }
    }
}
